<%--
  Created by IntelliJ IDEA.
  User: lxm
  Date: 2018/3/14
  Time: 下午7:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="layui-tab-item">
    <%--功能体验结束--%>
    <%--批量文本分词--%>
    <fieldset class="layui-elem-field">
        <legend>批量文本处理</legend>
        <div class="layui-field-box">
            <div class="layui-row">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                    <legend>拖拽方式提交</legend>
                </fieldset>

                <div class="layui-upload-drag" id="single-file">
                    <i class="layui-icon"></i>
                    <p>点击上传，或将文件拖拽到此处</p>
                </div>
                <br><br>
                <blockquote class="layui-elem-quote">拖拽后，文件会自动上传，并以弹窗的形式返回结果。文件上传说明请查阅文档：
                    <a href="#">分词文件上传</a></blockquote>

                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                    <legend>多文件批量处理</legend>
                </fieldset>
                <div class="layui-upload">
                    <button type="button" class="layui-btn layui-btn-normal" id="testList">选择多文件</button>
                    <div class="layui-upload-list">
                        <table class="layui-table">
                            <thead>
                            <tr>
                                <th>文件名</th>
                                <th>大小</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody id="demoList"></tbody>
                        </table>
                    </div>
                    <button type="button" class="layui-btn" id="ListAction" onclick="mutifileLoad()">
                        开始上传
                    </button>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                    <legend>解析文本URL</legend>
                </fieldset>
                <form class="layui-form layui-form-pane" action="">
                    <div class="layui-form-item">
                        <label class="layui-form-label">链接URL</label>
                        <div class="layui-input-block">
                            <input id="input_url" type="text" name="" autocomplete="off"
                                   placeholder="请输入需要解析的文本URL"
                                   class="layui-input" style="display: inline;width: 90%;">
                            <button type="button" class="layui-btn" style="float: right;" onclick="crawlAndAnalyze()">开始解析</button>
                            <div class="layui-clear"></div>
                        </div>
                    </div>
                </form>

            </div>
        </div>
    </fieldset>
    <%--词法分析模块结束--%>

</div>